<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
    />

    <title>小清新的卡片式注册登录切换效果</title>
    <link rel="stylesheet" href="index.css" />

    <link rel="icon" type="image/x-icon" href="../../../favicon.ico" />
</head>

  <body>
    <div class="container">
      <div class="register-box">
        <h2 class="register-title"><span>没有账号，去</span>注册</h2>
        <div class="input-box">
          <input type="text" placeholder="用户名" />
          <input type="password" placeholder="密码" />
          <input type="password" placeholder="确认密码" />
        </div>
        <button>注册</button>
      </div>
      <div class="login-box slide-up">
        <div class="center">
          <h2 class="login-title"><span>已有账号，去</span>登录</h2>
          <div class="input-box">
            <input type="text" placeholder="用户名" />
            <input type="password" placeholder="密码" />
          </div>
          <button>登录</button>
        </div>
      </div>
    </div>
    <script src="index.js"></script>
  </body>
</html>
